package com.bjpowernode.dao;
import com.bjpowernode.beans.Stu;
import java.util.ArrayList;
public class DB {
    public static ArrayList<Stu> stus = new ArrayList<>();
    static {
        //这里唯一要注意的就是学号是1000-5000的范围
        //因此初始化的时候学号需要满足1000-5000范围之类的值
        stus.add(new Stu(1000, "hzj1", "M", "2022-10-10", 100));
        stus.add(new Stu(1001, "hzj2", "M", "2022-10-10", 80));
        stus.add(new Stu(1002, "hzj3", "M", "2022-10-10", 90));
        stus.add(new Stu(1003, "hzj4", "M", "2022-10-10", 87));
        stus.add(new Stu(1004, "hzj4", "M", "2022-10-10", 87));
    }
}